<section class="admin-sidebar-section">
    <h1 class="admin-sidebar-section-title">
        <i class="fa fa-group"></i> {{ users_section_title }}
        <span class="tlp-badge-primary tlp-badge-outline">{{ all_users_count }}</span>
    </h1>

    <form action="/admin/userlist.php" method="get" class="admin-sidebar-form">
        <div class="tlp-form-element">
            <input type="search" class="tlp-search tlp-search-small admin-sidebar-search" name="user_name_search" placeholder="{{ users_search_placeholder }}">
        </div>
    </form>

    <nav class="admin-sidebar-section-nav">
        <a href="/admin/userlist.php" class="admin-sidebar-section-nav-item">{{ users_nav_all_users }}</a>
        <a href="/admin/register_admin.php?page=admin_creation" class="admin-sidebar-section-nav-item">{{ users_nav_new_user }}</a>
        <a href="/admin/password_policy/" class="admin-sidebar-section-nav-item">{{# gettext }}Password policy{{/ gettext }}</a>
        {{# users_need_approval}}
            <a href="/admin/approve_pending_users.php?page=pending" class="admin-sidebar-section-nav-item {{# isTherePendingUsers }}tlp-text-warning{{/ isTherePendingUsers }}">
                {{ users_nav_pending_users }}
                {{# isTherePendingUsers }}
                    <span class="tlp-badge-warning tlp-badge-outline">{{ pending_users_count }}</span>
                {{/ isTherePendingUsers }}
            </a>
            <a href="/admin/approve_pending_users.php?page=validated" class="admin-sidebar-section-nav-item {{# isThereValidatedUsers }}tlp-text-warning{{/ isThereValidatedUsers }}">
                {{ users_nav_validated_users }}
                {{# isThereValidatedUsers }}
                    <span class="tlp-badge-warning tlp-badge-outline">{{ validated_users_count }}</span>
                {{/ isThereValidatedUsers }}
            </a>
        {{/ users_need_approval}}
        <a href="/admin/permission_delegation.php" class="admin-sidebar-section-nav-item">{{ users_nav_permission_delegation }}</a>
    </nav>
</section>
